/**
 * @description  : 进货记录 item
 * @descriptionDetail : 进货记录 item
 * @copyright    : 浙江烟草
 * @author       : mc
 * @create       : 2022-10-03 13:44:29
 */
<template>
  <view class="divided-line" @click="handleGoods">
    <u-row gutter="16" align="top" class="rowde">
      <u-col span="6">
        <view class="msg-title">
          客户分类：{{ recordgoods.custTypeName || "/" }}
        </view>
      </u-col>
      <u-col span="6">
        <view class="msg-title">
          订货周期：{{ recordgoods.orderCycleTypeName || "/" }}
        </view>
      </u-col>
    </u-row>
    <u-row gutter="16" align="top" class="rowde">
      <u-col span="6">
        <view class="msg-title">
          数量：{{ recordgoods.saleQty || "/" }}
        </view>
      </u-col>
      <u-col span="6">
        <view class="msg-title">
          金额：{{ recordgoods.saleMoney || "/" }}
        </view>
      </u-col>
    </u-row>
    <u-row gutter="16" align="top" class="rowde">
      <u-col span="6">
        <view class="msg-title">
          订货日期：{{ recordgoods.orderDate || "/" }}
        </view>
      </u-col>
    </u-row>
  </view>
</template>

<script>
export default {
  props:{
    recordgoods:{
      type:Object,
      default:() => {},
    },
  },
  methods:{
    handleGoods () {
      this.$u.route({
					url: '/pages/retailer/retailerInfo/retailerItem/componets/purchaseDetail',
					params: {
						sellNo: this.recordgoods.sellNo
					}
				})
    }
  }
}
</script>

<style lang="scss" scoped>
@import "./componets.scss";
</style>
